var fs = require('fs');

let files = fs.readdirSync(__dirname);

module.exports = function() {
  files.forEach(function(filename, index) {
    if (filename !== 'index.js')
      require(`${__dirname}/${filename}`);
  });
};
